//
//  FunnyTableViewCell.m
//  Snigger
//
//  Created by 火火火火火 on 16/8/16.
//  Copyright © 2016年 Smile. All rights reserved.
//

#import "FunnyTableViewCell.h"

@implementation FunnyTableViewCell

- (void)awakeFromNib {
    
    self.praiseBtn.layer.borderWidth = 1;
    self.praiseBtn.layer.cornerRadius = 8;
    self.praiseBtn.layer.borderColor = [UIColor lightGrayColor].CGColor;
    
    self.collectBtn.layer.borderWidth = 1;
    self.collectBtn.layer.cornerRadius = 8;
    self.collectBtn.layer.borderColor = [UIColor lightGrayColor].CGColor;
    
    self.shareBtn.layer.borderWidth = 1;
    self.shareBtn.layer.cornerRadius = 8;
    self.shareBtn.layer.borderColor = [UIColor lightGrayColor].CGColor;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
}


- (void)setFrame:(CGRect)frame{
    
    frame.origin.x = MovieCellMargin + 5;
    frame.size.width -= 2 * frame.origin.x;
    frame.size.height -= MovieCellMargin - 2;
    frame.origin.y += MovieCellMargin ;
    
    [super setFrame:frame];
}

@end
